<?php

namespace pmvc\ioc;

interface DestroyingObject {

	/**
	 * Called on objects that implement this interface
	 * when the ObjectFactory decides to destroy an
	 * object that it has created.
	 * @param $objectFactory the factory
	 */
	function destroy(ObjectFactory $objectFactory);
}

?>